import request from '@/utils/request'

// 查询加油站_油种中间表列表
export function listStation_type(query) {
  return request({
    url: '/gas/station_type/list',
    method: 'get',
    params: query
  })
}

// 查询加油站_油种中间表详细
export function getStation_type(id) {
  return request({
    url: '/gas/station_type/' + id,
    method: 'get'
  })
}

// 新增加油站_油种中间表
export function addStation_type(data) {
  return request({
    url: '/gas/station_type',
    method: 'post',
    data: data
  })
}

// 修改加油站_油种中间表
export function updateStation_type(data) {
  return request({
    url: '/gas/station_type',
    method: 'put',
    data: data
  })
}

// 删除加油站_油种中间表
export function delStation_type(id) {
  return request({
    url: '/gas/station_type/' + id,
    method: 'delete'
  })
}
